﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using QLPKWeb.Models.FormBean.Base;
using DONGACS.DTO;
using Webdiyer.WebControls.Mvc;

namespace QLPKWeb.Models.FormBean.PhanQuyen
{
    public class DepartmentsForm : FormBase<DepartmentsDto>, IForm<DepartmentsDto>
    {
        /// <summary>
        /// Gets or sets DepartmentsDto List.
        /// </summary>
        public IList<DepartmentsDto> DepartmentsDtoList { get; set; }

        /// <summary>
        /// Gets or sets JobTitle.
        /// </summary>
        public System.String DepartmentName { get; set; }

        /// <summary>
        /// Gets or sets Description.
        /// </summary>
        public System.String DepartmentDesc { get; set; }
        
        /// <summary>
        /// Gets or sets IdChief.
        /// </summary>
        public System.Int32 IdChief { get; set; }

        /// <summary>
        /// Gets or sets CreateDate.
        /// </summary>
        public System.DateTime CreateDate { get; set; }

        /// <summary>
        /// Gets or sets UpdateDate.
        /// </summary>
        public System.DateTime UpdateDate { get; set; }

        /// <summary>
        /// Gets or sets CreateBy.
        /// </summary>
        public System.Int32 CreateBy { get; set; }

        /// <summary>
        /// Gets or sets UpdateBy.
        /// </summary>
        public System.Int32 UpdateBy { get; set; }

        /// <summary>
        /// Gets or sets IsDelete.
        /// </summary>
        public System.Boolean IsDelete { get; set; }
        
        /// <summary>
        /// Gets or sets Chief.
        /// </summary>
        public System.String Chief { get; set; }

        //Extend
        public string CreateByUser { get; set; }
        public string UpdateByUser { get; set; }
        public bool DepartmentNameReadOnly { get; set; }
        public int DepartmentID { get; set; }
        public int PageNumber { get; set; }
        
        public IList<UsersDto> IdChiefList { get; set; }

        //extend paging
        public PagedList<DepartmentsDto> DepartmentsPagedList { get; set; }


        public string MessageCreateDepartments { get; set; }

        public string MessageEditDepartments { get; set; }
       
    }
}
